/*    */ package cn.zzuisa.news.service.impl;
/*    */ 
/*    */ import cn.zzuisa.news.entity.Comment;
/*    */ import cn.zzuisa.news.form.CommentForm;
/*    */ import cn.zzuisa.news.repository.CommentRepository;
/*    */ import cn.zzuisa.news.repository.dao.CommentDAO;
/*    */ import cn.zzuisa.news.service.CommentService;
/*    */ import java.util.List;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class CommentServiceImpl
/*    */   implements CommentService
/*    */ {
/* 20 */   private CommentRepository commentDAO = new CommentDAO();
/*    */ 
/*    */ 
/*    */   
/* 24 */   public List<Comment> list(Integer newsId) { return this.commentDAO.list(newsId); }
/*    */ 
/*    */ 
/*    */ 
/*    */   
/* 29 */   public CommentForm add(CommentForm commentForm) { return this.commentDAO.add(commentForm); }
/*    */ }


/* Location:              /Users/frank/Desktop/admin/WEB-INF/classes/!/cn/zzuisa/news/service/impl/CommentServiceImpl.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */